<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="wechat/common/head::style"></th:block>
</head>

<body ontouchstart>
<div class="wrapper">
    <div class="hd">
        <h1 class="page_title"><i class="fas fa-user" aria-hidden="true"></i></h1>
        <p class="page_desc">用户登陆</p>
    </div>
    <div class="bd spacing">
        <form action="{:url('Publics/login')}" class="form-horizontal">
            <div class="weui-cells weui-cells_form">

                <div class="weui-cell">
                    <div class="weui-cell_hd"><label class="weui-label">微信号</label></div>
                    <div class="weui-cell_bd weui-cell_primary">
                        <input class="weui-input" type="number" name="username" pattern="[0-9]*" placeholder="请输入微信号">
                    </div>
                </div>

                <div class="weui-cell">
                    <div class="weui-cell_hd"><label class="weui-label">密码</label></div>
                    <div class="weui-cell_bd weui-cell_primary">
                        <input class="weui-input" autocomplete="off" type="password" name="password"
                               placeholder="请输入密码">
                    </div>
                </div>

            </div>

            <div for="weuiAgree" class="weui-agree">
                <input type="checkbox" name="remember" class="weui-agree__checkbox">
                <span class="weui-agree__text">记住我</span>
            </div>
        </form>
    </div>

        <div class="weui-btn-area">
            <button class="weui-btn weui-btn_primary ajax-post" target-form="form-horizontal" type="submit">确定</button>
            <br>
            <a href="{:url('publics/register')}" class="weui-btn weui-btn_block weui-btn_primary">没有账号？点击注册</a>
        </div>
    </div>
    <div class="weui-footer">
        <p class="footer-links">
            <a href="{:url('publics/reset_password')}" class="weui-footer__link">忘记密码</a>
        </p>
    </div>
</div>

<th:block th:include="wechat/common/footer::scripe"></th:block>
</body>
</html>
